\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28 music MIDI serial\
\
Q: Some of the MIDI demos (those under
\b /NextDeveloper/Examples/MidiDriver
\b0 ) work, but others (those under
\b /NextDeveloper/Examples/MusicKit
\b0 ) don't seem to.\
\
A: The most likely explanations for why some ones didn't work for you are:\
\
(1) Some of the 1.0 MusicKit examples don't work correctly when launched from the Browser. The problem has been fixed in the 2.0 versions. The symptom is that you get a blank icon that doesn't respond if you double-click it. (You can't even get rid of it by using Workspace's Kill Application panel. Instead, you'll have to kill it from a shell command line; see the man pages for
\b ps
\b0 and
\b kill
\b0 (1).) However, these programs work fine if launched from a shell command line. This bug is caused by the fact that they use non-IB-generated Makefiles and don't have an IB.proj. If you opened the .nib file, you may have clobbered the original Makefile. If so, recopy the files from /NextDeveloper/Examples, cd to the appropriate directory, and type "make". Then launch the programs by typing the name of the executable in the shell window.\
\
(2) Perhaps the program expected the MIDI device to be hooked up to the other serial port. Some of these programs work only with the top serial port (port B). See the
\b README
\b0 file in each directory.\
\
(3) Perhaps your synthesizer wasn't sending and receiving on the same MIDI channel as the program expected. Set the channel on the synthesizer to 1 for both send and receive. If you're using
\b playscorefilemidi
\b0 , make sure that the scorefile you're giving as standard input has no MIDI channel information listed in a PartInfo; if it does, set your synthesizer to receive on the channel listed.\
\
(4) We have seen some Casio synthesizers that have problems talking to some of the MIDI demos. If you think everything is hooked up correctly but there appears to be no communication with the synthesizer, try power-cycling the synthesizer (i.e., turn it off and back on) AFTER launching the MIDI demo.\
\
(5) If you have a 68040 machine, it is likely that your MIDI interface is incompatible with the serial ports. If you're lucky, a new cable may be all that is needed. See NextAnswer hardware.580 for details.\